Skip to content

Use ConstantCompare in EchCheckAcceptance#9900

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
julek-wolfssl:fenrir/357
Mar 7, 2026
Merged

Use ConstantCompare in EchCheckAcceptance#9900
douzzer merged 1 commit intowolfSSL:masterfrom
julek-wolfssl:fenrir/357

Conversation

@julek-wolfssl
Copy link
Member

F-357

Copilot AI review requested due to automatic review settings March 6, 2026 07:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR switches ECH acceptance confirmation comparison to a constant-time routine to reduce timing side-channels in TLS 1.3 ECH processing.

Changes:

  • Replaced XMEMCMP with ConstantCompare in EchCheckAcceptance when validating the last 8 bytes of the accept confirmation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@philljj philljj added the For This Release Release version 5.9.0 label Mar 6, 2026
@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 6, 2026
@douzzer douzzer merged commit 313d27d into wolfSSL:master Mar 7, 2026
441 of 443 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.0 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants